import { service } from '@/service'

const baseUrl = '/hbsys-system/organization/admin'

export function getListHoliday(data) {
  return service.request({
    url: '/hbsys-system/holiday/info/list',
    method: 'get',
    params: data
  })
}

export function deleteHoliday(id) {
  return service.request({
    url: '/hbsys-system/holiday/info/' + id,
    method: 'delete'
  })
}

export function addHoliday(data) {
  return service.request({
    url: '/hbsys-system/holiday/info',
    method: 'post',
    data:data
  })
}
